<?php
require('../vendor/autoload.php');

use BtcTool\Client;

$client = new Client('http://user:123456@127.0.0.1:18443');

$rsp = $client->exec('getnetworkinfo');
var_dump($rsp);